﻿using System;
using System.Collections.Generic;
using System.Data.Entity;
using System.Linq;
using System.Text;
using WebPic.Sample.Comum;
using WebPic.Sample.Modelo.Entidades;
using WebPic.Sample.Modelo.Specifications;

namespace WebPic.Sample.Modelo.Repositorios
{
    public class RepositoryTransportadora : Repository<Transportadora>, IRepositoryVendedor
    {
        public RepositoryTransportadora(DbContext context) : base(context){}
   
        public IQueryable<Transportadora> NomeComecaCom(string nome)
        {
            return Get(TransportadoraSpecification.NomeComecaCom(nome));
        }
    }
}
